<?php
    if ( isset($_GET['task_name']) and !empty($_GET['task_name']))
    {
        $task_name = $_GET['task_name'];
        $info = t::get_name($task_name);
        if (empty($info) or !isset($info['func_pro']) ) die('no');
        $r = explode('::', $info['func_pro']);

        if ( method_exists( $r[0], $r[1] ) ) 
        {
            ob_start();  
            call_user_func( array( $r[0], $r[1] ) );
            $t = ob_get_contents();
            ob_end_clean();
            echo $t;
        }
    }
?>